package ee.subjects.backend.database.connectionproperties;

import ee.subjects.backend.database.DBType;

public class DatabaseConnectionPropertiesFactory 
{
	
	public DatabaseConnectionPropertiesFactory() 
	{
		
	}
	
	public static DatabaseConnectionProperties getDatabaseConnectionProperties(DBType databaseType) 
	{	  
	    switch (databaseType) 
	    {
			case POSTGRESQL: 
				return new PostgreSQLConnectionProperties();
			case MYSQL: 
				return null;      
			default: 
				return null;
	    }
	}
}
